#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:__init__.py
# author:wmf
# datetime:2021/5/23 22:39
# software: PyCharm
'''
this is function description
'''
# import module your need

from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker



# 创建引擎
engine = create_engine('mysql+mysqlconnector://root:1535122923Wmf@localhost:3306/test?charset=utf8')

# 创建会话对象
Session = sessionmaker(bind=engine)

# 创建会话实例
session = Session()